package duhosdebuggolok;

import java.util.EventObject;

public class FoodEatedEvent extends EventObject{
	
	private Food food;
	
	public FoodEatedEvent(Object source, Food f) {
		super(source);
		food  = f;
	}

	public Food getFood() {
		return food;
	}
	
	public AntSmell getSource() {
		return (AntSmell)source;
	}

}
